package com.xxl.sso.server.service;

import java.io.File;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.icom.sso.util.RetKit;
import com.xxl.sso.core.entity.PageData;
import com.xxl.sso.server.core.model.Project;

public interface ProjectService {
	public List<Project> findProjects();

	public PageData<Project> findPageProject(int page, int rows);

	public RetKit<String> uploadFile(MultipartFile file, String uploadPath);

	public RetKit<String> saveProject(Project project);

	public Project findProjectById(String id);

	public RetKit<String> changeStatus(String id, String status);
	
	public RetKit<Project> changeProjectInfo(String id);
	
	public RetKit<String> saveChangeInfo(Project project);
	
	public RetKit<String> delProject(String id);
}
